Really handle the emacs-{gtk,lucid,nox} doc dir transition manually
authorAndreas Beckmann <anbe@debian.org>
Sun, 27 Jan 2019 16:08:55 +0000 (17:08 +0100)
committerAndreas Beckmann <anbe@debian.org>
Sun, 27 Jan 2019 16:08:55 +0000 (17:08 +0100)
commit64d474397add56275dabea5ed48ed9c1ae448adc
tree132c5a844d2af5d39fa327e971470471cb4b5826
parentcedaa2b34a5a23bfc64785fa0d91e9e4ad77f81c
Really handle the emacs-{gtk,lucid,nox} doc dir transition manually

reimplementing the guts of dir_to_symlink is quite easy:
in the postinst replace the empty directory with the intended symlink
caveats compared to dpkg-maintscript-helper:
* fails during postinst (not preinst) if the directory is not empty
* absolutely no rollback or downgrade support
debian/changelog
debian/emacsVAR.postinst
debian/emacsVAR.preinst [deleted file]
debian/rules